﻿using System;
using System.Collections.Generic;
using TestDBData.EFContext;
using TestModel.SysManage;

namespace TestService.SysManage
{
    /// <summary>
    /// 系统用户
    /// </summary>
    public partial interface ISys_MenuService
    {
        /// <summary>
        /// 添加菜单
        /// </summary>
        void AddMenu(Sys_Menu model, List<Sys_MenuFunction> functions);
        /// <summary>
        /// 修改菜单
        /// </summary>
        void UpdateMenu(Sys_Menu model, List<Sys_MenuFunction> functions);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="model"></param>
        /// <param name="Funs"></param>
        void DeleteMenu(Sys_Menu model);
        /// <summary>
        /// 查询model
        /// </summary>
        Sys_Menu GetModel(Guid gid);
        /// <summary>
        /// 查询菜单数据
        /// </summary>
        List<Sys_Menu> QueryMenu(string Menu_Name, string userName);
        /// <summary>
        /// 获取功能
        /// </summary>
        List<Sys_MenuFunction> GetMenuFunction(string fid);
    }
}
